package cn.edu.ctbu.studentmanage.repository;

import cn.edu.ctbu.studentmanage.domain.Course;
import cn.edu.ctbu.studentmanage.domain.Student;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface CourseRepository extends JpaRepository <Course,Integer>{


    /**
     * 根据课程编号进行查询
     * @param cno
     * @return
     */
    Course findCourseByCno(String cno);


}
